package API.String.Regex;

public class ReplaceAll {
    public static void main(String[] args) {
        //郭德纲(doge)
        String str = "我有四不吃cauid123第一eiqd234牛肉不吃aklbec4682因为它善";
        //将符合regex的字符串片段修改为','
        System.out.println(str.replaceAll("\\w+", ","));
    }
}
